package com.itheima.object;

public class Test {
    public static void main(String[] args) {

        Student s1 = new Student();
        s1.name = "张三";
        s1.chinese = 90;
        s1.math = 95;
        s1.printTotal();
        s1.printAverage();

        Student s2 = new Student();
        s2.name = "李四";
        s2.chinese = 80;
        s2.math = 85;
        s2.printTotal();
        s2.printAverage();
    }
}
